/**
 * article模块接口列表
 */
import base from "./base"; // 导入接口域名列表
import axios from "../network/http"; // 导入http中创建的axios实例

const pay = {
  
  //   生成支付订单
  prePay(data) {
    return axios.post(`${base.sq2}/app/order/pay`, data);
  },

  ifAliPay(info) {
    return axios.get(`${base.sq2}/app/order/pay/ali/return?${info}`);
  },

  wxAuth() {
    return axios.get(`${base.sq2}/app/order/wx/authorize`);
  },
  
};
export default pay;
